import request from '@/utils/http'
// 药品列表
export function druglist(query) {
  return request.get('/oa/inventory/list',query)
}
// 药品列表
export function searchlist(query) {
  return request.get('/oa/inventory/list',query)
}
// 登录
export function login(params) {
  return request.post('/login', params)
}

// 查询药品详细
export function getDrug(id) {
  return request.get('/oa/drug/'+id)
}
// 查询疾病列表
export function listDisease() {
  return request.get('/oa/disease/list')
}


